{if ($smarty.session.sponsor) >0}
    <div class="s-button">        
        {if ($smarty.session.sponsor&1<<5) > 0}
            <button type="button" onclick="javascript:confirmActive(this.form);">{$language.btn.active}</button>
            <button type="button" onclick="javascript:act(this.form,5);">{$language.btn.inactive}</button>
        {/if} 
        {if ($smarty.session.sponsor&1<<4) > 0}
            <button type="button" onclick="javascript:confirmPending(this.form);">{$language.btn.suspend}</button>
        {/if} 
        {if ($smarty.session.sponsor&1<<3) > 0}
            <button class="delete" type="button" onclick="javascript:confirmDelete(this.form);">{$language.btn.delete}</button>
        {/if}     
        {if ($smarty.session.sponsor&1<<3) > 0 && $AppUI->type == $smarty.const.ROLE_ROOT}
            <button class="delete" type="button" onclick="javascript:confirmDeleteDb(this.form);">{$language.btn.delete_db}</button>
        {/if}    
    </div>
{/if}